You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > SetIt Method > MatrixInt.SetIt Method ([In] int, [In] int, TIntPrecision, [In] int[])
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.SetIt Method ([In] int, [In] int, TIntPrecision, [In] int[])

Sets matrix values.

Syntax
C#
Visual Basic
public TMtxInt SetIt([In] int Rows, [In] int Cols, TIntPrecision aPrecision, [In] int[] A);

Pass all elements in A array to the calling matrix. The Rows and Cols properties of the calling matrix are set to ARows and ACols and the IntPrecision property is set to aPrecision. An exception is raised if the matrix size(ARows*ACols) does not match the number of integer numbers in A.

var A: TMtxInt; begin CreateIt(A); try A.SetIt(2,2,[1,2, 2,4]); finally FreeIt(A); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!